package com.外观模式;

public class Stereo {

    private static Stereo stereo=new Stereo();

    public static Stereo getInstance(){
        return stereo;
    }

    public void on(){
        System.out.println("音响打开");
    }

    public void off(){
        System.out.println("音响关闭");
    }

    public void up(){
        System.out.println("音响的音量调大了");
    }
}
